<% content_for :menu do %>
<%= render :partial => "layouts/menu", :locals => {:incidennnnt => true} %>
<% end %>


<p>
  <b>Date detection:</b>
  <%=h @incident.date_detection %>
</p>

<p>
  <b>Machine:</b>
  <%=h @incident.machine_id %>
</p>

<p>
  <b>Type incident:</b>
  <% if @incident_loc = TypeIncident.find_by_id(@incident.type_incident_id)%>
  	<%=h @incident_loc.libelle %>
  <% end %>
</p>

<p>
  <b>Date resolution:</b>
  <%=h @incident.date_resolution %>
</p>


<span class="cog"><%= link_to 'Modifier', edit_incident_path(@incident) %> </span>
<span class="undo"><%= link_to 'Retour', incidents_path %></span>